{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=318
  Verdict: Accepted
}
var b:int64; i:longint; a,r:extended;
begin
assign(input,'input.txt');
assign(output,'output.txt');
reset(input);
rewrite(output);
read(a,b);
r:=1;
for i:=1 to b do r:=r*a;
write(r:0:6);
end.